package game.buildings;

/**
 *	@(#)Inn.java
 *
 *	The <code>Inn</code> class represents the inn building.
 *	An inn increases the player's zone of control by its own one.
 *
 *	@author Grzegorz Kobiela
 *	@version 1.0 2007/9/11
 */
public final class Inn
extends LandBuilding
implements game.Colored
{
	/** The color. */
	private game.PlayerColor color;

	/**
	 *	Creates a new <code>Inn</code> instance with the given color.
	 *	@param color the color
	 */
	public Inn(game.PlayerColor color) {
		super(BuildingType.INN);
		this.color = color;
	}

	/**
	 *	Returns the color.
	 *	@return the color
	 */
	public game.PlayerColor getColor() {
		return color;
	}
}